package door;

/**
 * 用户测试类
 * @Author lzp
 * @Date 2024-03-14
 */
public class Test2 {
    public static void main(String[] args) {
        User user =new User();
        MuDoor muDoor =new MuDoor();
        user.men(muDoor);

        TieDoor tieDoor =new TieDoor();
        user.men(tieDoor);

        FangDaoDoor fangDaoDoor =new FangDaoDoor();
        user.men(fangDaoDoor);
    }
}
